# type ./auto_testbench_gene.sh xxx.v
# auto generate testbench (basic framework， may have many bug)
echo $1
filename=$(basename $1)
fname="${filename%.*}"
echo $fname
python3 /home/kunzh/.vscode/extensions/truecrab.verilog-testbench-instance-0.0.5/out/vTbgenerator.py ./testbench/{$fname}_tb.v